package com.situ.day07;

public class MyDoor extends AbstractDoor implements IAlarm{

	@Override
	public void alarm() {
		System.out.println("MyDoor.alarm()");
	}

	@Override
	public void open() {
		System.out.println("MyDoor.open()");
	}

	@Override
	public void close() {
		System.out.println("MyDoor.close()");
	}
	
	public static void main(String[] args) {
		MyDoor myDoor = new MyDoor();
		myDoor.alarm();
		myDoor.open();
		myDoor.close();
	}
}
